package com.zg.scf.service.impl;


import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zg.common.core.dao.scf.ImgCategoryScoreDao;
import com.zg.common.core.dao.scf.ImgConditionScoreDao;
import com.zg.common.core.dao.scf.entity.AccAccount;
import com.zg.common.core.dao.scf.entity.ImgCategoryScore;
import com.zg.common.core.dao.scf.entity.ImgConditionScore;
import com.zg.common.core.req.PageReq;
import com.zg.common.core.service.PageBaseService;
import com.zg.common.core.util.DateUtil;
import com.zg.scf.domain.req.account.AccAccountPageReq;
import com.zg.scf.domain.req.img.ImgCategoryScorePageReq;
import com.zg.scf.service.ImgCategoryScoreService;
import com.zg.scf.service.ImgConditionScoreService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * <p>Description: </p>
 *
 * @author zhanfeng.liang
 * @since 2025/5/22 10:47
 */



@Service
@Slf4j
public class ImgCategoryScoreServiceImpl extends PageBaseService<ImgCategoryScore, ImgCategoryScoreDao> implements ImgCategoryScoreService {

    protected Page<ImgCategoryScore> pageInfo(Page<ImgCategoryScore> page, PageReq req) {
        ImgCategoryScorePageReq accountPageReq = (ImgCategoryScorePageReq) req; // 需要显式转换
        Page<ImgCategoryScore> pageInfo = baseDao.pageInfo(page,accountPageReq);
        return pageInfo;

    }
}
